package com.app.reptile.constant;


public enum JobType {
	JOB("job"),
	REMOTE_JOB("remote_job");
	final private String value;
	JobType(String value) {
		this.value = value;
	}
	public String getValue() {
		return value;
	}
	public static JobType valueOfByName(String type) {
		JobType[] enums = JobType.values();
        for (JobType e : enums) {
            if (e.getValue().equals(type)) {
                return e;
            }
        }
        return null;
    }
}
